home *** CD-ROM | disk | FTP | other *** search
/ PC World Interactive 1 / PC World Interactive 1 - Nisan 1997.iso / prog / graf / 5 / _001360_ < prev    next >
Text File  |  1996-06-04  |  3KB  |  67 lines

  1. //------------------------------------------------------------------------------------------------------
  2. // Name       : export.c
  3. // Date       : 23.05.1996     Author : SM / OK    Language : E
  4. //------------------------------------------------------------------------------------------------------
  5. // This file contains all language-dependent text definitions of the module EXPORT_.DLL. Together with
  6. // the file EXPORT.RC, it is used to build the language library EXPORT.DLL.
  7. // The library file EXPORT.LIB which is created during the compilation of this language DLL must be
  8. // linked to the module's main DLL in order to have access to the texts and resources defined here.
  9. //------------------------------------------------------------------------------------------------------
  10.  
  11. #include        "windows.h"
  12. #include        "windowsx.h"
  13. #include        "stdlib.h"
  14.  
  15. #include        "e:\release4\toso40.h"          // Toso Interface 4.0 Definitions
  16.  
  17. //------ Language-dependent strings --------------------------------------------------------------------
  18.  
  19. DLL_EXPORT LPSTR
  20.         eStartUpText    [] = {
  21.           "Version 1.00e\n\nCopyright 1996 TommySoftware«\n\nDeveloper: Stefan Malz.",
  22.           "Coordinates (*.TXT)",                                                // 01
  23.           "Export Coordinates (*.TXT)...",                                      // 02
  24.           END_TEXT
  25.         },
  26.  
  27.         eDefaultName    [] = {
  28.           "untitled.txt",                                                       // 00
  29.           "TommySoftware EXPORT",                                               // 01
  30.           "TXT",                                                                // 02
  31.           END_TEXT
  32.         },
  33.  
  34.         eDialogText     [] = {
  35.           "TommySoftware« Coordinate Export",                                   // 00
  36.           "Coordinates (*.TXT)\0*.TXT\0All Files (*.*)\0*.*\0\0",               // 01
  37.           "Exporting to File\n%s...",                                           // 02
  38.           "Line %ld",                                                           // 03
  39.           "%ld KBytes",                                                         // 04
  40.           END_TEXT
  41.         },
  42.  
  43.         eMessageText    [] = {
  44.           "This module requires at least\nToso Interface Version 4.0.",         // 00
  45.           "Insufficient memory.\nPlease close other application to continue.",  // 02
  46.           "The export was canceled.",                                           // 03
  47.           "Error %ld in file selector box.",                                    // 04
  48.           "Error writing to file.",                                             // 05
  49.           END_TEXT
  50.         };
  51.  
  52. //------------------------------------------------------------------------------------------------------
  53. // This DLL entry procedure must exist in any DLL to be used in Win32. Since our language DLL does not
  54. // need any initialization, this procedure is quite empty.
  55.  
  56. BOOL WINAPI DllMain( HINSTANCE hInstance, DWORD Reason, LPVOID Dummy )
  57. {
  58.   switch( Reason ) {
  59.     case DLL_PROCESS_ATTACH:
  60.       break;
  61.  
  62.     case DLL_PROCESS_DETACH:
  63.       break;
  64.   }
  65.   return( TRUE );
  66. }
  67.